import React from 'react';

import { IconApartment, IconHome, IconSetting, IconUser } from '@douyinfe/semi-icons';
import { NavItem } from '../types';

const navs: NavItem[] = [
    { name: '管理首页', url: '/dashboard', icon: IconHome, breadcrumb: false },
    { 
        name: '账户管理', 
        icon: IconUser, 
        children: [ 
            { 
                name: '后台账号管理',
                url: '/accounts/manager' 
            }, 
            { 
                name: '用户账号管理', 
                url: '/accounts/user',
                hiddens: [
                    { name: '创建用户账号', url: '/accounts/user/create' }
                ] 
            } 
        ] 
    },
    { 
        name: '公司管理', 
        icon: IconApartment,
        children: [ 
            { 
                name: '公司列表', 
                url: '/company',
                hiddens: [
                    { name: '公司详情', url: '/company/detail' }
                ]
            },
            { name: '创建公司', url: '/company/create' }
        ],
    },
    { name: '系统设置', url: '/settings', icon: IconSetting },
];

export default navs;